package com.ccsoft.atools.dao;

import org.springframework.stereotype.Repository;
import java.util.List;
import com.ccsoft.atools.model.AssBaseSimple;
import com.ccsoft.atools.utils.Example;
import org.apache.ibatis.annotations.Param;

/**
 * @Description : 由代码生成器生成
 * @Author : chanchaw
 * @Date :  2023-4-3 13:21:19
 */
@Repository
public interface AssBaseSimpleMapper {
    int insert(AssBaseSimple record);

    int insertSelective(AssBaseSimple record);

    int multiInsert(List<AssBaseSimple> list);

    int updateByPrimaryKey(AssBaseSimple record);

    int updateByPrimaryKeySelective(AssBaseSimple record);

    // 根据主键删除
    int deleteByPrimaryKey(Integer iid);
    // 根据主键查询
    AssBaseSimple selectByPrimaryKey(Integer iid);

    List<AssBaseSimple> selectAll();

    int save(AssBaseSimple record);
    int multiSave(List<AssBaseSimple> list);

    AssBaseSimple selectBySid(String sid);

    //================= 下面是 Example 代码 ==================
    List<AssBaseSimple> selectByExample(@Param("example") Example example);
    int updateByExampleSelective(@Param("record") AssBaseSimple record,@Param("example") Example example);
    int insertByExampleSelective(@Param("record") AssBaseSimple record,@Param("example") Example example);
    int deleteByExample(@Param("example") Example example);

    //=================以上是自动生成的代码，自定义代码请写在下面==================
}